//
//  YBNormalWaterLayoutView.h
//  GongXinDangJian
//
//  Created by apple on 17/11/30.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol  YBNormalWaterLayoutViewDelegate <NSObject>

-(void)didClickDeleteButtonWithIndex:(NSInteger)index;

@end

@interface YBNormalWaterLayoutView : UIView
@property (nonatomic , strong) UICollectionView * collectionView;

@property (nonatomic , strong) NSArray * dataArray;

@property (nonatomic , strong) UILabel * titleLabel;

@property (nonatomic , strong) UIButton * selectButton;

@property (nonatomic , assign) id<YBNormalWaterLayoutViewDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame title:(NSString *)title;

-(void)deleteItemAtIndex:(NSInteger)index;
@end
